package com.snailxr.base.task.service;

import javax.annotation.Resource;

import org.apache.log4j.Logger;
import org.springframework.stereotype.Service;

import com.snailxr.base.task.dao.impl.XZSPDaoImpl;
import com.snailxr.base.task.domain.jx.XZSP;

	@Service("xzspService")
	public class XZSPService {
	public final Logger log = Logger.getLogger(this.getClass());
	
	@Resource(name="xzspDaoImpl")
	private XZSPDaoImpl xzspDaoImpl;
	
	/**
	 * 删除全部
	 */
	public void deleteAll(){
		xzspDaoImpl.deleteAll();
	}
	
	/**
	 * 插入一条
	 */
	public void insert(XZSP xzsp){
		xzspDaoImpl.insert(xzsp);
	}
}
